<template>
    <div id="app-header">
      <header>
        <h1>vue实战 - 路由和http</h1>
      </header>
    </div>
</template>

<script>
    export default {
        name: "app-header"
    }
</script>

<style scoped>
  header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    margin: 0;
    padding: 10px;
    background: #71c2ff;
  }
  h1 {
    line-height: 100px;
    font-size: x-large;
    color: #fff;
  }
</style>
